<?php
//본 파일은 코딩이 너무 복잡해져서 예제용 이미지 링크를 따로 빼낸 것으로써 추후에 이 파일 대신 배열로 처리된 진짜 썸네일 링크로 대체하면 된다.
?>

<!-- Sample gallery mini - Textures (Preset) -->
<div class="photo_frame image thumb_tx2_1"><img data-lazy="../assets/book/editor/item_bg_textures/thumb_tb1.jpg" /></div>
<div class="photo_frame image thumb_tx2_2"><img data-lazy="../assets/book/editor/item_bg_textures/thumb_tb2.jpg" /></div>
<div class="photo_frame image thumb_tx2_3"><img data-lazy="../assets/book/editor/item_bg_textures/thumb_tb3.jpg" /></div>
<div class="photo_frame image thumb_tx2_4"><img data-lazy="../assets/book/editor/item_bg_textures/thumb_tb4.jpg" /></div>
<div class="photo_frame image thumb_tx2_5"><img data-lazy="../assets/book/editor/item_bg_textures/thumb_tb5.jpg" /></div>
<div class="photo_frame image thumb_tx2_6"><img data-lazy="../assets/book/editor/item_bg_textures/thumb_tb6.jpg" /></div>
<div class="photo_frame image thumb_tx2_7"><img data-lazy="../assets/book/editor/item_bg_textures/thumb_tb7.jpg" /></div>
<div class="photo_frame image thumb_tx2_8"><img data-lazy="../assets/book/editor/item_bg_textures/thumb_tb8.jpg" /></div>
<div class="photo_frame image thumb_tx2_1"><img data-lazy="../assets/book/editor/item_bg_textures/thumb_tb1.jpg" /></div>
<div class="photo_frame image thumb_tx2_2"><img data-lazy="../assets/book/editor/item_bg_textures/thumb_tb2.jpg" /></div>
<div class="photo_frame image thumb_tx2_3"><img data-lazy="../assets/book/editor/item_bg_textures/thumb_tb3.jpg" /></div>
<div class="photo_frame image thumb_tx2_4"><img data-lazy="../assets/book/editor/item_bg_textures/thumb_tb4.jpg" /></div>
<div class="photo_frame image thumb_tx2_5"><img data-lazy="../assets/book/editor/item_bg_textures/thumb_tb5.jpg" /></div>
<div class="photo_frame image thumb_tx2_6"><img data-lazy="../assets/book/editor/item_bg_textures/thumb_tb6.jpg" /></div>
<div class="photo_frame image thumb_tx2_7"><img data-lazy="../assets/book/editor/item_bg_textures/thumb_tb7.jpg" /></div>
<div class="photo_frame image thumb_tx2_8"><img data-lazy="../assets/book/editor/item_bg_textures/thumb_tb8.jpg" /></div>
<div class="photo_frame image thumb_tx2_1"><img data-lazy="../assets/book/editor/item_bg_textures/thumb_tb1.jpg" /></div>
<div class="photo_frame image thumb_tx2_2"><img data-lazy="../assets/book/editor/item_bg_textures/thumb_tb2.jpg" /></div>
<div class="photo_frame image thumb_tx2_3"><img data-lazy="../assets/book/editor/item_bg_textures/thumb_tb3.jpg" /></div>
<div class="photo_frame image thumb_tx2_4"><img data-lazy="../assets/book/editor/item_bg_textures/thumb_tb4.jpg" /></div>
<div class="photo_frame image thumb_tx2_5"><img data-lazy="../assets/book/editor/item_bg_textures/thumb_tb5.jpg" /></div>
<div class="photo_frame image thumb_tx2_6"><img data-lazy="../assets/book/editor/item_bg_textures/thumb_tb6.jpg" /></div>
<div class="photo_frame image thumb_tx2_7"><img data-lazy="../assets/book/editor/item_bg_textures/thumb_tb7.jpg" /></div>
<div class="photo_frame image thumb_tx2_8"><img data-lazy="../assets/book/editor/item_bg_textures/thumb_tb8.jpg" /></div>

<!-- Thumbnail button event -->
<script type="text/javascript">
    $(document).ready(function() {
        $('.thumb_tx2_1').click(function() {
            $('.texture_inner, .btn_item2').css({'background-image': 'url(../assets/book/editor/item_bg_textures/texture_tb1.jpg)'});
        });
        $('.thumb_tx2_2').click(function() {
            $('.texture_inner, .btn_item2').css({'background-image': 'url(../assets/book/editor/item_bg_textures/texture_tb2.jpg)'});
        });
        $('.thumb_tx2_3').click(function() {
            $('.texture_inner, .btn_item2').css({'background-image': 'url(../assets/book/editor/item_bg_textures/texture_tb3.jpg)'});
        });
        $('.thumb_tx2_4').click(function() {
            $('.texture_inner, .btn_item2').css({'background-image': 'url(../assets/book/editor/item_bg_textures/texture_tb4.jpg)'});
        });
        $('.thumb_tx2_5').click(function() {
            $('.texture_inner, .btn_item2').css({'background-image': 'url(../assets/book/editor/item_bg_textures/texture_tb5.jpg)'});
        });
        $('.thumb_tx2_6').click(function() {
            $('.texture_inner, .btn_item2').css({'background-image': 'url(../assets/book/editor/item_bg_textures/texture_tb6.jpg)'});
        });
        $('.thumb_tx2_7').click(function() {
            $('.texture_inner, .btn_item2').css({'background-image': 'url(../assets/book/editor/item_bg_textures/texture_tb7.jpg)'});
        });
        $('.thumb_tx2_8').click(function() {
            $('.texture_inner, .btn_item2').css({'background-image': 'url(../assets/book/editor/item_bg_textures/texture_tb8.jpg)'});
        });
    });
</script>

<?php ?>